package com.iamteer.day01;

import java.util.Date;

public class Emp {
	private int id;
	private String name;
	private double salary;
	private Date birthday;
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public double getSalary() {
		return salary;
	}
	public void setSalary(double salary) {
		this.salary = salary;
	}
	
	@Override
	public String toString() {
		return "{" + this.id + "\t" + this.name + "\t" + this.salary + "\t" + this.birthday + "}";
	}
}
